home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1997 March
/
CHIP Mart 1997.iso
/
SurfCam
/
SURFCAM.Z
/
FAN10.L2
< prev
next >
Wrap
Text File
|
1996-04-01
|
4KB
|
137 lines
name Fanuc 10T
% 00
O >4
N >3
G >2
X ->3.>4
Z ->3.>4
D >2
I ->3.>4
K ->3.>4
U ->3.>4
W ->3.>4
A 60 P
P ->3.>4
Q ->3.>4
q >4 Q
R ->3.>4
F >3.>3
T 2
t 2
S >4
M >2
ModalLetters X Z I K F S M # List of letters that are modal
ModalGs 0 1 2 3 80 81 82 83 84 85 # List of g codes that are modal
Sequence#s N 0 1 1 # Char, freq, incr & start
First#? N # Y or N 'Output 1st sequence no.
Last#? N # Y or N 'Output last sequence no.
HCode Z # X or X U 'Horizontal char.
VCode X # Y or Y V 'Vertical char.
FeedCode F # Feed rate char.
Comment ( ) # Begin End comment char.
Spindle 3 4 5 # Cw, ccw & stop m codes
Coolant 8 9 7 # On, Off & Mist m codes
SpeedType G 97 96 # CSS and RPM g codes
FeedType G 95 94 # IPR & IPM g codes
Dcomp 41 42 40 # Left, Right & Cancel m codes
Feed G1 # Linear move
Rapid G0 # Rapid positioning word
Cw G2 # Circular move clockwise
Ccw G3 # Circular move counter clockwise
Inc/Abs G 91 90 # Inc & Abs char. & values
Inch/MM 20 21 # Inch & Metric g codes
CtrCode R # I J or R or I J K L
ByDiameter? Y # Y or N 'Output X val. by diameter
RevSigns X # List of letters to reverse signs
Spaces? N # Y or N 'Spaces between words
Incremental? N # Y or N 'Inc or abs output
CtrIncremental? Y # Y or N 'Inc or abs I & J
ByQuadrants? Y # Y or N 'Break arcs at quadrants
UppercaseComments? Y # Y or N 'Require uppercase comments
Drill # Drilling canned/manual cycle
G74 R[Depth]
G74 Z[Depth] F[FRate]
end
Peck # Pecking canned/manual cycle
G74 R[Depth]
G74 Z[H] Q[SBite] F[FRate]
end
Tap # Tapping canned/manual cycle
G84 Z[H] F[FRate]
end
Ream # Reaming canned/manual cycle
G85 Z[H] F[FRate]
end
Bore # Boring canned/manual cycle
G74 R0
G74 Z[H] R[SClear] F[FRate]
end
AutoThread # Automatic thread canned cycle
G76 A[TParams] Q[VBite] R0
G76 X[V] Z[H] P[Peck1] Q[VLeave] R0 F[Frate]
end
Cancel # Cancel a canned/manual cycle
G80
end
StartCode # Start of the program
%0
O[Program#]
End
1stToolChange # First tool change
G0 X[Val1] Z[Val2]
T[Tool] t0
G[FeedType] G[SpeedType] S[Speed] M[Direct]
G0 X[V] Z[H] T[Tool] t[Dcomp] M[Cool]
End
Infeed # Enable cutter comp
G1 G41 X[V] Z[H] D[Dcomp] F[FRate]
end
Outfeed # Disable cutter comp
G1 G40 X[V] Z[H] F[FRate]
end
ToolChange # Secondary tool changes
G0 T[LastTool] t0 Z[Val2] M5
T[Tool] t0
G[FeedType] G[SpeedType] S[Speed] M[Direct]
G0 X[V] Z[H] T[Tool] t[Dcomp] M[Cool]
End
EndCode # End of the program
G0 X[Val1] Z[Val2] T[Tool] t0 M5
M30
%0
End
Ask [Val1] " Enter the X [radius] home value: " "5.0"
Ask [Val2] " Enter the Z home value: " "10.0"
Replace "t" with ""